function getTime(){
	var mydateInput = document.getElementById("aDate");
	var date = new Date();
	
	var m=date.getMinutes();
	m=checkTime(m);

	var dateString  = date.getFullYear() + "年" +(date.getMonth()+1) +"月"+date.getDate() +"日"+  
	date.getHours()+"时"+m+"分";
	mydateInput.value = dateString;
	a=setTimeout(function(){getTime()},500);
	function checkTime(i){
	if (i<10){
		i="0" + i;
	}
	return i;
}
}